package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Orders;

public interface OrderService extends IService<Orders> {


    R submit(Orders orders);

    R findByPageAndCondition(Integer page, Integer pageSize, Integer number, String beginTime, String endTime);

    R findByPage(Integer page, Integer pageSize);
}
